<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"> 

<h:head>
<title>Ежедневник "Все по плану".</title>
</h:head> 
<h:body>
    <ui:composition template="/templates/templateFix.xhtml">
            
            <ui:define name="sidebar">
            	<rich:calendar popup="false" id="calendar" value="#{diaryBean.calDate}" locale="#{diaryBean.locale}" style="height:210px;">      
	        		<a4j:ajax render="goalgread paneltext panelevent" listener="#{diaryBean.test}"/>            				
	        	</rich:calendar>
            </ui:define> 
            
            <ui:define name="content">
            	    <div class="contentbody">
				    	<div class="contenttop">
				        	<div class="goals">
				            	<h:inputText styleClass="goaltext" id="goalYear"/><h:outputLabel value="Цели года" styleClass="goallabel" for="goalYear"/><br/>
				            	<h:inputText styleClass="goaltext" id="goalMonth"/><h:outputLabel value="Цели месяца" styleClass="goallabel" for="goalMonth"/><br/>
				            	<h:inputText styleClass="goaltext" id="goalWeek"/><h:outputLabel value="Цели недели" styleClass="goallabel" for="goalWeek"/><br/>
				            </div>
				            <div class="goals">
				              	<h:inputText styleClass="goaltext" id="goalDay"/><h:outputLabel value="Цели дня" styleClass="goallabel" for="goalDay"/><br/>
				            	<h:inputText styleClass="goaltext" id="frog"/><h:outputLabel value="Лягушка" styleClass="goallabel" for="frog"/><br/>
				            	<h:inputText styleClass="goaltext" id="beefsteak"/><h:outputLabel value="Бифштекс" styleClass="goallabel" for="beefsteak"/><br/>
				            </div>
				        </div>
				        <div class="contentmidle">
				        	<div class="schedule">
				            	<h5> Мероприятия по расписанию </h5>
				                <div class="alignleft">
				                	<h:inputTextarea styleClass="textareaschedule"/>                		
				                </div>
				            </div>
				            <div class="schedule">
				            	<h5> Мероприятия вне расписания </h5>
				                <div class="alignright">
				                	<h:inputTextarea styleClass="textareaschedule"/>  
				                </div>
				            </div>
				        </div>
				        <div class="contentbottom">        	
				        	<h:outputLabel value="Событие дня" styleClass="goallabel" for="eventDay"/><h:inputText styleClass="goaltext" id="eventDay"/><br/>
				            <h:outputLabel value="Награда" styleClass="goallabel" for="avard"/><h:inputText styleClass="goaltext" id="avard"/><br/>
				            <div class="vidgets">
				            	<div class="vidget">
				                	<div class="alignleft">
				                    	<div class="vidgetinside">
				                        </div>
				                    </div>
				                </div>
				                <div class="vidget">
				                	<div class="relativeright">
				                    	<div class="vidgetinside">
				                        </div>
				                    </div>
				                </div>
				            </div>
				        </div>
				    </div>
            </ui:define>

        </ui:composition>
</h:body> 
</html>
